package com.logo.egitim.crm.ws;

import javax.inject.Inject;
import javax.jws.WebMethod;
import javax.jws.WebService;

import com.logo.egitim.crm.entity.Kullanici;
import com.logo.egitim.crm.service.KullaniciService;

@WebService
public class KullaniciWS {

	@Inject KullaniciService kullaniciService;
	
	@WebMethod
	public void kaydet(String ad, String soyad){
		Kullanici kullanici = new Kullanici();
		kullanici.setAd(ad);
		kullanici.setSoyad(soyad);
	
		kullaniciService.kaydet(kullanici);
	}
	
}
